package io.github.enbool.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * The system security properties.
 * Class name with SecurityProperties will conflict to the spring security's bean.
 * @author enbool
 *
 */
@Component
@ConfigurationProperties(prefix = "iot.security")
public class OAuth2SecurityProperties {
	
	private OAuth2Properties oauth2 = new OAuth2Properties();

	public OAuth2Properties getOauth2() {
		return oauth2;
	}

	public void setOauth2(OAuth2Properties oauth2) {
		this.oauth2 = oauth2;
	}
	
}
